package com.ykdl.member.kid.beans;

import java.io.Serializable;
import java.util.ArrayList;
import net.wxxr.http.interfaces.IJsonParser;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;

public class PraiseListBean implements Serializable ,IJsonParser{
	/**
	 * 
	 */
	private static final long serialVersionUID = -8445865216995841412L;
	private ArrayList<PraiseBean>  list;
	private int next_cursor ;
	private int previous_cursor ;
	private int total_number ;
	public int getTotal_number() {
		return total_number;
	}
	public ArrayList<PraiseBean> getList() {
		return list;
	}
	public int getNext_cursor() {
		return next_cursor;
	}
	public int getPrevious_cursor() {
		return previous_cursor;
	}
	@Override
	public IJsonParser parse(String json) throws Exception {
		// TODO Auto-generated method stub
		Gson   gson = null;
		if(null != json){
			GsonBuilder b = new GsonBuilder();
			gson  = b.create();
			return gson.fromJson(json, PraiseListBean.class);
		}
		return null;
	}
}
